/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Ex6_CustomerAccount.Banking;

/**
 *
 * @author Root
 */
public class Customer {
    protected String firtname,lastname;
    private Account account;
    private int numberof_acc=0;
    private CheckingAccount checking_acc;
    private SavingsAccount saving_acc;

    public Customer(String firtname, String lastname) {
        this.firtname = firtname;
        this.lastname = lastname;
        }

    public String getFirtname() {
        return firtname;
    }

    public String getLastname() {
        return lastname;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public int getNumberof_acc() {
        return numberof_acc;
    }

    public CheckingAccount getChecking_acc() {
        return checking_acc;
    }

    public void setChecking_acc(CheckingAccount checking_acc) {
        this.checking_acc = checking_acc;
    }

    public SavingsAccount getSaving_acc() {
        return saving_acc;
    }

    public void setSaving_acc(SavingsAccount saving_acc) {
        this.saving_acc = saving_acc;

    }









}
